package JDBC.model;

/**
 * @Fou Jack of all trades and master of none.
 * @date 2022/1/6 11:42
 */
public class User {



    @Override
    public String toString() {
        return "User{" +
                "Id=" + Id +
                ", Name='" + Name + '\'' +
                ", Age=" + Age +
                ", Money=" + Money +
                '}';
    }

    private int Id;
    private String Name;
    private int Age;
    private double Money;

    public User( String name, int age, double money) {
        Name = name;
        Age = age;
        Money = money;
    }

    public User() {
    }

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public int getAge() {
        return Age;
    }

    public void setAge(int age) {
        Age = age;
    }

    public double getMoney() {
        return Money;
    }

    public void setMoney(double money) {
        Money = money;
    }
}
